package com.diaohaiwen.basic.websockt;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * websocket 服务启动类
 * <a href="https://cloud.tencent.com/developer/article/1522701">参考地址</a>
 */
@SpringBootApplication
public class BasicWebsocktApplication {

    public static void main(String[] args) {
        SpringApplication.run(BasicWebsocktApplication.class, args);

//        String url = "jdbc:postgresql://127.0.0.1:5432/notice?autoReconnect=true";
//        String username = "postgres";
//        String password = "postgres";
//
//        MybatisGenerator.builder()
//                .author("刁海文")
//                .url(url)
//                .username(username)
//                .password(password)
//                .clazz(BasicWebsocktApplication.class)
//                .enableController(true)
//                .build()
//                .generate();
    }

}
